package com.example.ymm.modules1.service.user;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.DbUserRewards;
import com.example.ymm.modules1.query.DbUserRewardsQueryCriteria;

import java.util.List;

public interface DbUserRewardsService extends BaseService<DbUserRewards> {


    TableList<DbUserRewards> list(DbUserRewardsQueryCriteria criteria, YmPageDto ymPage);

    List<DbUserRewards> queryAll(DbUserRewardsQueryCriteria criteria);

    DbUserRewards addToUser(DbUserRewards userRewards);


    void importUserRewardsExcel(List<DbUserRewards> list);

}
